#include <iostream>

using namespace std;

class person {
	public:
		person(): m_A(10), m_B(10) {}

		int m_A;
		int m_B;
};

person operator+ (const person &p1, const person &p2) {
	person tmp;
	tmp.m_A = p1.m_A + p2.m_A;
	tmp.m_B = p1.m_B + p2.m_B;
	return tmp;
}

void test1() {
	person p1;
	person p2;
	person p3 = p1 + p2;

	cout << p3.m_A << endl;
	cout << p3.m_B << endl;

}

int main() {
	test1();

	return 0;
}